<!DOCTYPE html>
<html>
<head>
    <title>Page</title>
</head>
<body>
<script type="text/javascript">
    document.addEventListener('DOMContentLoaded', function () {
        throw new Error('%TC_TEST_ERR%');
    });
</script>
</body>
</html>